bin=bq
src=$(wildcard *.cc)
obj=$(src:.cc=.o)
cc=g++
$(bin):$(obj)
	$(cc) -o $@ $^ -std=c++17 -lpthread
%.o:%.cc
	$(cc) -c $< 
.PHONY:clean 
clean:
	rm -rf $(bin) $(obj)
.PHONY:test 
test:
	echo $(src) 
	echo $(obj) 